#include <iostream>
#include <string>
#include "Ship.h"

using namespace std;

Ship::Ship(const char *pTypeVehicle, int SpeedType, float SpeedWater, char *pPilotName)
: Vehicle( pTypeVehicle, SpeedType ), m_SpeedWater( SpeedWater ), m_pPilotName( pPilotName )
{
	strcpy( m_pPilotName, pPilotName );
}

/*Ship::~Ship( void )
{
	delete [] m_pPilotName;
}*/

void Ship::Show( void )
{
	Vehicle::Show();
	cout << "Speed: "<< m_SpeedWater << endl;
	cout << "Pilot Name: " << m_pPilotName << endl;
}

